Package org.dogtagpki.server.rest.v1
Class ApiDisabledResource
java.lang.Object
org.dogtagpki.server.rest.v1.ApiDisabledResource
Catch-all resource that returns a clean error message when v1 API is disabled.
This is registered as the only resource when API status is disabled.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsehandleDelete(String path) jakarta.ws.rs.core.Responsejakarta.ws.rs.core.ResponsehandleOptions(String path) jakarta.ws.rs.core.ResponsehandlePatch(String path) jakarta.ws.rs.core.ResponsehandlePost(String path) jakarta.ws.rs.core.Response
-
Field Details
-
logger
public static final org.slf4j.Logger logger
-
-
Constructor Details
-
ApiDisabledResource
public ApiDisabledResource()
-
-
Method Details
-
handleGet
@GET @Path("{path:.*}") public jakarta.ws.rs.core.Response handleGet(@PathParam("path") String path) -
handlePost
@POST @Path("{path:.*}") public jakarta.ws.rs.core.Response handlePost(@PathParam("path") String path) -
handlePut
@PUT @Path("{path:.*}") public jakarta.ws.rs.core.Response handlePut(@PathParam("path") String path) -
handleDelete
@DELETE @Path("{path:.*}") public jakarta.ws.rs.core.Response handleDelete(@PathParam("path") String path) -
handlePatch
-
handleOptions
@OPTIONS @Path("{path:.*}") public jakarta.ws.rs.core.Response handleOptions(@PathParam("path") String path)
-